const path = require('path')
module.exports = {
    entry: path.join(__dirname, 'index.js'),
    output: {
        filename: 'index.js',
        path: path.join(__dirname, 'dist/')
    },
    mode: 'development',
    module: {
        rules: [
            {
                test: /\.html/,
                use: ['html-loader']
            },{
                test: /\.css/,
                use: ['style-loader', 'css-loader']
            }
        ]
    }
}